﻿using System;
using System.Windows.Forms;
using Deferred.Library.Scene;

namespace Deferred.Editor.Gui.Scene
{
    public partial class CameraPanel : UserControl
    {
        public CameraPanel(Camera camera)
        {
            InitializeComponent();

            cameraBindingSource.DataSource = camera;
        }

        private void upDownValueChanged(object sender, EventArgs e)
        {
            cameraBindingSource.EndEdit();
        }
    }
}
